package org.practice.model;

import java.util.ArrayList;
import java.util.List;

public class Kindergarten {
	private String sysId;
	
    private Company company;
    
    private District district;

    private int depth_FunPO;
    private String sysCode_FunPO;

    public List<Account> kgAdminListVo = new ArrayList<Account>();
    
    private Kindergarten parentBean;
    public List<Kindergarten> childrenList = new ArrayList<Kindergarten>();
    public Kindergarten() {
        this.company = new Company();
    }

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Kindergarten getParentBean() {
		return parentBean;
	}

	public void setParentBean(Kindergarten parentBean) {
		this.parentBean = parentBean;
	}

	public District getDistrict() {
		return district;
	}

	public void setDistrict(District district) {
		this.district = district;
	}

	public int getDepth_FunPO() {
		return depth_FunPO;
	}

	public void setDepth_FunPO(int depth_FunPO) {
		this.depth_FunPO = depth_FunPO;
	}

	public String getSysCode_FunPO() {
		return sysCode_FunPO;
	}

	public void setSysCode_FunPO(String sysCode_FunPO) {
		this.sysCode_FunPO = sysCode_FunPO;
	}

	public List<Account> getKgAdminListVo() {
		return kgAdminListVo;
	}

	public void setKgAdminListVo(List<Account> kgAdminListVo) {
		this.kgAdminListVo = kgAdminListVo;
	}

	public List<Kindergarten> getChildrenList_VO() {
        return childrenList;
    }
	
	public String getName() {
		return this.company.getCompanyName();
	}

	public void setName(String name) {
		this.company.setCompanyName(name);
	}
	
	public List<Kindergarten> getChildrenList() {
		return childrenList;
	}

	public void setChildrenList(List<Kindergarten> childrenList) {
		this.childrenList = childrenList;
	}

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

}
